<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/6
  Time: 10:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
   ${error}
   <%--action:servlet路径 method表示进行登录操作--%>
   <form action="/user?method=login" method="post">
       账号:<input type="text" name="username"/><br>
       密码:<input type="text" name="password"/><br>
       <input type="submit" value="立即登录"/>
       <input type="button" value="注册"/>
   </form>
</body>
</html>
